<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";

	String signString = (String) request.getSession().getAttribute("sign");
	String ShowA = signString == null ? "style='display: none;'" : "";
	String ShowB = signString == null ? "" : "style='display: none;'";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<base href="<%=basePath%>">

		<title>吉林省质量技术监督局信息中心</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
	</head>

	<body>

		<table border="0" align="center">
			<tr>
				<td>
				<br />	
				</td>
				<td>
					<div align="center" id="logindvi" <%=ShowB%>>
						<form method="post" action="Loginevent.do" name="Loginform">
							<strong>吉林省质量技术监督局<br>产品质量监督检查季报系统 <br> </strong>
							<br>
							<table width="300" border="0">
								<tbody>
									<tr>
										<td>
											用户名：
										</td>
										<td>
											<input type="text" name="username" value="" size="18">
										</td>
									</tr>
									<tr>
										<td>
											密码：
										</td>
										<td>
											<input type="password" name="password" value="">
										</td>
									</tr>
									<tr>
										<td align="right">
											<input type="submit" value="登录" name="submit">
										</td>
										<td align="center">
											<input type="reset" value="重置" name="reset">
										</td>
									</tr>
								</tbody>
							</table>
						</form>
					</div>
					<div align="center" id="menudvi" <%=ShowA%>>
						<form method="get" action="GetMainData.do" name="addform">
							<input type="text" value="201003" name="year" onKeyUp="value=value.replace(/[^\d]/g,'') " onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))" />
							<%
								if (Integer.parseInt(signString == null ? "0" : signString) > 9) {
							%>
							<input type="Submit" name="okbutton" value="添加或修改数据">
							<%
								}
							%>
							<input type="Submit" name="okbutton" value="统计和打印界面">
						</form>
						<br>
						<br>
						<br>
						<div align="right"><input onclick="javascript:window.location.href='./Loginevent.do';" type="button" name="logout" value="登出">
						</div>
					</div>
				</td>
				<td valign="top">
					<div align="center"><h3> 
						[公告] 
						</h3>
					</div>
					<ul>
						<li>
							默认用户名：本地邮编*
						</li>
						<li>
							默认密码：ccms
						</li>
					</ul>
					<br />
					<div align="right">
						*延吉市为133001
						<br />
						<br />
						<br />
						 <font color="#ff0000">${message}</font>
					</div>
				</td>
			</tr>
		</table>


	</body>
</html>
